/*
 * filename : atof.c
 * function : Convert a string to float
 * author : xiaozhi
 * copyrigth (c)  xiaozhi 2006 wise 
 */
#include <stdio.h>


#include "atof.h"

double atof_(const char *string)
{
	/* not implement */
	double *num = 0;
	int n = 0;
	while (*string++ == '\n') {
		num[n] = *string++;
		num[n] = (double)string[n+1];
		n++;
	}
	*num = *num;

	return *num;
}

int atoi_(const char *string)
{
	/* not implement */
	return 0;
}

long atol_(const char *stirng)
{
	/* not implement */
	return 0;
}

double atoftest(const char string)
{
	double temp = (double)string;
	return temp;
}